﻿<Canvas x:Class="SuperGo.Silverlight.ComboBox"
    xmlns="http://schemas.microsoft.com/client/2007" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:go="clr-namespace:SuperGo.Silverlight"
    Height="22"
    >

    <StackPanel x:Name="_stackPanel">
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition Width="25" />
            </Grid.ColumnDefinitions>

            <TextBox Height="22" IsReadOnly="True" Foreground="{Binding Foreground}" Grid.Column="0" x:Name="ItemTextBox"></TextBox>
            <Button Grid.Column="1" x:Name="Dropdown" IsEnabled="{Binding IsEnabled}">
                <Polygon Points="3,2 13,2 8,10" Fill="Black" />
            </Button>
        </Grid>

        <ListBox x:Name="ItemsListBox" MaxHeight="80" />
    </StackPanel>
</Canvas>
